﻿using System;
using System.Collections.Generic;
#if DEBUG
using System.Diagnostics;
#endif // #if DEBUG
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

using FRL.DebtChased.Repository;
using FRL.DebtChased.Silverlight.Library;
using FRL.DebtChased.Silverlight.Library.RichContentService;
using FRL.DebtChased.Types;

namespace FRL.DebtChased.ChaseWorkspace
{

	/// <summary>
	/// Declaration of PaymentPlanGridCtrl class
	/// Grid showing the payments for a playment plan, used in the
	/// controls for creating a plan, and viewing an active plan
	/// </summary>
	public partial class PaymentPlanGridCtrl : UserControl
	{

		/////////////////////////////////////////////////////////////
		// Construction

		public PaymentPlanGridCtrl()
		{

			// Load xaml resource
			InitializeComponent();

		}

		/////////////////////////////////////////////////////////////
		// Operations

		public void Set(AccountPlanTransport accountPlan)
		{


		}

		public void Set(InstalmentCalculator calc, Money.eCurrency currency)
		{


		}


        private void paymentScheduleDataGrid_BindingValidationError(object sender, ValidationErrorEventArgs e)
        {

        }

        private void paymentScheduleDataGrid_LayoutUpdated(object sender, EventArgs e)
        {

        }

        private void editColInstalmentAmount_KeyUp(object sender, KeyEventArgs e)
        {
            //UpdateTotals();
        }

	}

}

